const path = require('path');

process.env.VUE_APP_VERSION = require('./package.json').version;

module.exports = {
  pluginOptions: {
    'resolve-alias': {
      alias: {
        src: path.resolve(__dirname, './src'),
        '@': path.resolve(__dirname, './src'),
      }
    }
  },
  css: {
    loaderOptions: {
      sass: {
        data: `@import "~@/element-variables.scss"`
      },
      scss: {
        data: `@import "~@/element-variables.scss";`
      },
    }
  },
  publicPath: './',
  productionSourceMap: false
};
